import request from '@/utils/request'

//绑定微信
export function bindWechatQr(data) {
    return request({
        url: '/storage/shop/bindWeChat',
        method: 'post',
        data: data,
    })
}

//绑定列表
export function getWechatList(data) {
    return request({
        url: '/storage/shop/bindingList',
        method: 'post',
        data: data,
    })
}
//微信-删除绑定，拒绝绑定
export function delBinding(id) {
    return request({
        url: '/storage/shop/delBinding/'+id,
        method: 'post',
    })
}
//微信-同意绑定
export function agreeToBind(id) {
    return request({
        url: '/storage/shop/agreeToBind/'+id,
        method: 'post',
    })
}
